package com.KKB.service;

import com.KKB.bean.User;

import java.util.List;

public interface UserService {
    //登入方法
    public User login(String username,String password);
    //查询用户列表
    public List<User> getUserList(int pageIndex,int pageSize);
    //查询总条数
    public int total();

    public int addUsers(User user);

    public int update(User user);

    public User findById(int uid);

    public int deleteById(int uid);
}
